package com.sinovatio.tls.zttbg.serviceAccompany.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * feign，主要用于服务之间相互调用
 */
@FeignClient(name = "algorithm-accompany",fallback = AlgorithmAccompanyFeign.class)
public interface AlgorithmAccompanyFeign {


    @RequestMapping(value = "/accompany/testData1", method = RequestMethod.GET)
    String testData1(@RequestParam("param") int param);


}
